package net.zhengxinyun.performance.service.departClass;

import net.zhengxinyun.performance.entity.CountryUnitIndicatorsEntity;
import net.zhengxinyun.performance.entity.DepartClassHead;
import net.zhengxinyun.performance.entity.DepartClassItem;

import java.util.List;

public interface DepartHeadService {

    List<DepartClassHead> queryItem(DepartClassHead entity);
    List<DepartClassHead> queryByDatetime(String datetime);
    int update(DepartClassHead entity);
    int delete(Long id);
    int saveItems(List<DepartClassHead> list);
    DepartClassHead queryByIndexId(Long indexId);
    int insertSingle(DepartClassHead entity);
    int deleteByIndexId(Long indexId);
    int updateByIndexId(DepartClassHead entity);

    int updateDepartHead(List<CountryUnitIndicatorsEntity> list);

}
